<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/html/init.jsp"%>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui"%>

<portlet:actionURL var="editSubjectsURL">
	<portlet:param name="action" value="updateSubject" />
</portlet:actionURL>
<form action="${editSubjectsURL}" method="post" id="form-control">
	<c:forEach items="${listSubject}" var="e">
		<div class="disabled">
			<label>Mã môn</label> <input type="hidden"
				name="<portlet:namespace/>idSubject" id="subjectID"
				value="${e.idSubject}" />
			<div class="alert alert-success" style="width: 170px; height: 18px;">
				${e.idSubject}</div>
		</div>
		<div class="input-group">
			<label>Tên môn</label> <input class="form-control" type="text"
				name="<portlet:namespace/>nameSubject" id="nameSubjectID"
				value="${e.nameSubject}" />
		</div>
		<div class="input-group">
			<label>Số tín chỉ</label> <input class="form-control" type="text"
				name="<portlet:namespace/>numberOfCredit" id="creditID"
				value="${e.numberOfCredit}" />
		</div>
		<div class="input-group">
			<button type="submit" class="btn btn-success">Save</button>
			<div class="myButton">
				<a href='<portlet:renderURL/>'>Quay lại</a>
			</div>
		</div>
	</c:forEach>
</form>
